import request from '@/utils/request'

// 查询学员回访跟踪信息列表
export function listFallowback(query) {
  return request({
    url: '/system/fallowback/list',
    method: 'get',
    params: query
  })
}

// 查询学员回访跟踪信息详细
export function getFallowback(id) {
  return request({
    url: '/system/fallowback/' + id,
    method: 'get'
  })
}

// 新增学员回访跟踪信息
export function addFallowback(data) {
  return request({
    url: '/system/fallowback',
    method: 'post',
    data: data
  })
}

// 修改学员回访跟踪信息
export function updateFallowback(data) {
  return request({
    url: '/system/fallowback',
    method: 'put',
    data: data
  })
}

// 删除学员回访跟踪信息
export function delFallowback(id) {
  return request({
    url: '/system/fallowback/' + id,
    method: 'delete'
  })
}

// 导出学员回访跟踪信息
export function exportFallowback(query) {
  return request({
    url: '/system/fallowback/export',
    method: 'get',
    params: query
  })
}